package com.example.hospitalManage.dao;

import com.example.hospitalManage.entity.AdminUserToken;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ProjectName: yygh
 * @Author: gxy
 * @Time: 2022/12/29 23:54
 * @Description: 描述
 */
@Mapper
public interface AdminUserTokenMapper {

    int deleteByPrimaryKey(Long userId);

    int insert(AdminUserToken record);

    int insertSelective(AdminUserToken record);

    AdminUserToken selectByPrimaryKey(Long userId);

    AdminUserToken selectByToken(String token);

    int updateByPrimaryKeySelective(AdminUserToken record);

    int updateByPrimaryKey(AdminUserToken record);
}
